package com.alex.springbootdemo.model.dto;


import cn.hutool.core.bean.BeanUtil;
import com.alex.springbootdemo.model.pojo.PmsBrand;

public class PmsBrandConvertor {

    public static PmsBrandDTO convert(PmsBrand entity) {
        PmsBrandDTO pmsBrandDTO = new PmsBrandDTO();
        BeanUtil.copyProperties(entity, pmsBrandDTO);
        return pmsBrandDTO;
    }
}
